package com.hsm3;

public class Student extends Person{
    public void study(){
        System.out.println("学习");
    }
    //对父类中的方法进行重写
    public void eat(){
        System.out.println("吃别的");
    }

}
